-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Security Solution] Give entity store permissions to built-in and cloud roles #197383
Conversation
1c6735c
to
7e47b85
Compare
7e47b85
to
487e77a
Compare
"metrics-endpoint.metadata_current_*", | ||
".fleet-agents*", ".fleet-actions*", | ||
"risk-score.risk-score-*", | ||
".entities.v1.latest.security_*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the only reference to the risk-score.risk-score-*
index on this file. I don't know what it does, but it looks wrong to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The last time I updated these files, these roles are supposed to be a copy of roles file on the project-controller repo. Looks like those Kibana roles have been moved to https://github.com/elastic/elasticsearch-controller/blob/main/helm/values.yaml.
Earlier, we used to create and merge a PR on project-controller
repo before creating a role update PR on Kibana. Not sure if you'll need to do the same with this new elasticsearch-controller
repo and update the relevant files.
- ".siem-signals*" | ||
- ".lists-*" | ||
- ".items-*" | ||
- '.siem-signals*' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the change to single quote? it probably breaks the build no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just undid this change. It doesn't break anything. This file has three different patterns for index names, and my editor doesn't like them.
Note on the backport labels - serverless tests are only going to run on main. |
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-entity-analytics (Team:Entity Analytics) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wish we didn't have to copy roles in 4 places
Starting backport for target branches: 8.16, 8.x https://github.com/elastic/kibana/actions/runs/11498312134 |
…ud roles (elastic#197383) ## Summary Give entity store permissions to built-in and cloud roles. The entity store should be available where the RiskEngine is. ES controller PR elastic/elasticsearch-controller#753 (cherry picked from commit a194211)
…ud roles (elastic#197383) ## Summary Give entity store permissions to built-in and cloud roles. The entity store should be available where the RiskEngine is. ES controller PR elastic/elasticsearch-controller#753 (cherry picked from commit a194211)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…and cloud roles (#197383) (#197618) # Backport This will backport the following commits from `main` to `8.16`: - [[Security Solution] Give entity store permissions to built-in and cloud roles (#197383)](#197383) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Pablo Machado","email":"pablo.nevesmachado@elastic.co"},"sourceCommit":{"committedDate":"2024-10-24T11:25:29Z","message":"[Security Solution] Give entity store permissions to built-in and cloud roles (#197383)\n\n## Summary\r\n\r\nGive entity store permissions to built-in and cloud roles.\r\nThe entity store should be available where the RiskEngine is.\r\n\r\nES controller PR\r\nhttps://github.com/elastic/elasticsearch-controller/pull/753","sha":"a194211fff9195c1c03c0679dc3aa806e3676515","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team: SecuritySolution","Theme: entity_analytics","Feature:Entity Analytics","Team:Entity Analytics","v8.16.0","backport:version","v8.17.0"],"title":"[Security Solution] Give entity store permissions to built-in and cloud roles","number":197383,"url":"https://github.com/elastic/kibana/pull/197383","mergeCommit":{"message":"[Security Solution] Give entity store permissions to built-in and cloud roles (#197383)\n\n## Summary\r\n\r\nGive entity store permissions to built-in and cloud roles.\r\nThe entity store should be available where the RiskEngine is.\r\n\r\nES controller PR\r\nhttps://github.com/elastic/elasticsearch-controller/pull/753","sha":"a194211fff9195c1c03c0679dc3aa806e3676515"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197383","number":197383,"mergeCommit":{"message":"[Security Solution] Give entity store permissions to built-in and cloud roles (#197383)\n\n## Summary\r\n\r\nGive entity store permissions to built-in and cloud roles.\r\nThe entity store should be available where the RiskEngine is.\r\n\r\nES controller PR\r\nhttps://github.com/elastic/elasticsearch-controller/pull/753","sha":"a194211fff9195c1c03c0679dc3aa806e3676515"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Pablo Machado <pablo.nevesmachado@elastic.co>
…nd cloud roles (#197383) (#197619) # Backport This will backport the following commits from `main` to `8.x`: - [[Security Solution] Give entity store permissions to built-in and cloud roles (#197383)](#197383) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Pablo Machado","email":"pablo.nevesmachado@elastic.co"},"sourceCommit":{"committedDate":"2024-10-24T11:25:29Z","message":"[Security Solution] Give entity store permissions to built-in and cloud roles (#197383)\n\n## Summary\r\n\r\nGive entity store permissions to built-in and cloud roles.\r\nThe entity store should be available where the RiskEngine is.\r\n\r\nES controller PR\r\nhttps://github.com/elastic/elasticsearch-controller/pull/753","sha":"a194211fff9195c1c03c0679dc3aa806e3676515","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team: SecuritySolution","Theme: entity_analytics","Feature:Entity Analytics","Team:Entity Analytics","v8.16.0","backport:version","v8.17.0"],"title":"[Security Solution] Give entity store permissions to built-in and cloud roles","number":197383,"url":"https://github.com/elastic/kibana/pull/197383","mergeCommit":{"message":"[Security Solution] Give entity store permissions to built-in and cloud roles (#197383)\n\n## Summary\r\n\r\nGive entity store permissions to built-in and cloud roles.\r\nThe entity store should be available where the RiskEngine is.\r\n\r\nES controller PR\r\nhttps://github.com/elastic/elasticsearch-controller/pull/753","sha":"a194211fff9195c1c03c0679dc3aa806e3676515"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197383","number":197383,"mergeCommit":{"message":"[Security Solution] Give entity store permissions to built-in and cloud roles (#197383)\n\n## Summary\r\n\r\nGive entity store permissions to built-in and cloud roles.\r\nThe entity store should be available where the RiskEngine is.\r\n\r\nES controller PR\r\nhttps://github.com/elastic/elasticsearch-controller/pull/753","sha":"a194211fff9195c1c03c0679dc3aa806e3676515"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Pablo Machado <pablo.nevesmachado@elastic.co>
Summary
Give entity store permissions to built-in and cloud roles.
The entity store should be available where the RiskEngine is.
ES controller PR https://github.com/elastic/elasticsearch-controller/pull/753